Opening tables

To use the ADBLib library you have to open at least one table and the first one will be used to navigate, add, delete, and modify data. When closing the form, the tables will be automatically closed and the Cursors deleted, so what you have to do is only opening them; to open more than one you just add as many opening commands "OpenCursor" as you like.

NOTE: the open cursors can be accessed via the function Cursor(n).

The following example open the table customers.

OpenCursor( "SELECT * FROM [Customers]");